package multiDigitSum;
import java.lang.Math;
import java.util.Scanner;


public class Main {
    public static void main(String[] args) {
        Scanner reader=new Scanner(System.in);
        int a=reader.nextInt();
        int n=reader.nextInt();
        int sum=0;
        for(int i=0;i<n;i++){
            sum+=a*(i+1)*(int)(Math.pow(10,2-i));
            System.out.println(sum);
        }
        System.out.println(sum);
    }
}